package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 微生物生物量对象 microbial_biomass
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public class MicrobialBiomass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 样本id */
    @Excel(name = "样本id")
    private Long sId;

    /** MBC(mg/kg) */
    @Excel(name = "MBC(mg/kg)")
    private BigDecimal mbc;

    /** MBN(mg/kg) */
    @Excel(name = "MBN(mg/kg)")
    private BigDecimal mbn;

    /** MBP(mg/kg) */
    @Excel(name = "MBP(mg/kg)")
    private BigDecimal mbp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setMbc(BigDecimal mbc) 
    {
        this.mbc = mbc;
    }

    public BigDecimal getMbc() 
    {
        return mbc;
    }
    public void setMbn(BigDecimal mbn) 
    {
        this.mbn = mbn;
    }

    public BigDecimal getMbn() 
    {
        return mbn;
    }
    public void setMbp(BigDecimal mbp) 
    {
        this.mbp = mbp;
    }

    public BigDecimal getMbp() 
    {
        return mbp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sId", getsId())
            .append("mbc", getMbc())
            .append("mbn", getMbn())
            .append("mbp", getMbp())
            .toString();
    }
}
